package com.gitee.feizns.webtemplate.commons.rest;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author feizns
 * @since 2019/4/12
 */
@ConfigurationProperties(prefix = "rest.config")
@Data
public class RestProperties {

    /**
     * 读取超时
     */
    private int readTimeout = 10000;

    /**
     * 连接超时
     */
    private int connectTimeout = 5000;

}
